﻿@{
    ViewBag.Title = "Index";
}
<section id="content" role="main">

                <header>
                    <h1 id="admin-page-heading">Groups</h1>
                </header>
            
            <div class="content-container">
                

                <div class="content-body aui-panel">
                    
<table class="jiraform jirapanel  maxWidth">
<tr>
    <td class="jiraformheader">
            <a class="help-lnk" href="https://docs.atlassian.com/jira/docs-051/Managing+Groups" target="_jirahelp">
            <img src="/s/en_US-ah6l7v/782/3/_/images/icons/ico_help.png" width="16" height="16"
            
                        align=right

            border="0" alt="Get help!"
            title="Get online help about Managing Groups"/></a>
    <h3 class="formtitle">Groups</h3>       
    </td>
</tr>
    <tr>
    <td class="jiraformbody">
    <p>The Group Browser allows you to browse all the groups in the system.
    
        You can also add and remove groups from here.
        Only System Administrators are allowed to delete or edit members of groups with the 'System Administrators' permission.
    
    </p>
    </td>
    </tr>

</table>

<form class="aui top-label filter-form" action="GroupBrowser.jspa" method="post">
    <div class="form-body">
        <h3>Filter Group</h3>
        
            <div class="field-group">
                <table>
                    <tr>
                        <td>Groups Per Page</td>
                        <td>Name Contains</td>
                    </tr>
                    <tr>
<td  >
<select name="max">
	  <option value="10" >
         10
      </option>
   
	  <option value="20" SELECTED>
         20
      </option>
   
	  <option value="50" >
         50
      </option>
   
	  <option value="100" >
         100
      </option>
   
   
</select>

</td>

<td  >




<input type="text"
       name="nameFilter"
      
         size="20"
 

>
 


</td>


                    </tr>
                </table>
            </div>
        
    </div>
    <div class="buttons-container form-footer">
        <div class="buttons">
            <input type="submit" class="aui-button" value="Filter">
            <a class="aui-button-cancel" href="GroupBrowser.jspa?nameFilter=">Reset Filter</a>
        </div>
    </div>
</form>
<div class="aui-group count-pagination">
    <div class="results-count aui-item">
        Displaying groups <span class="results-count-start">1</span> to <span>3</span> of <strong class="results-count-total">3</strong>.
    </div>
    
</div>
<table id="group_browser_table" class="aui aui-table-rowhover">
    <thead>
        <tr>
            <th width="40%">
                Group Name
            </th>
            <th width="20%">
                Users
            </th>
            <th width="30%">
                Permission Schemes
            </th>
            
                <th width="10%">
                    Operations
                </th>
            
        </tr>
    </thead>
    <tbody>
	
	<tr>
		<td>
            <a href="#">jira-administrators</a>
        </td>
		<td>
            <a href="UserBrowser.jspa?atl_token=BWSZ-QUH8-SCUQ-VHYJ%7C04e2b8d5acd7566f049a8e91aa6df8e59a006cad%7Clin&amp;group=jira-administrators&amp;emailFilter=">1</a>
        </td>
        <td>
            
            
                &nbsp;
            
        </td>
        
            <td>
                <ul class="operations-list">
                    @Html.ActionLink("Delete", "Delete", "Group", new { id = "del_jira-administrators" })
                    @Html.ActionLink("Edit Members", "EditMembers", "Group", new { id = "edit_members_of_jira-administrators" })
                </ul>
            </td>
        
    </tr>
	
	<tr>
		<td>
            <a href="#">jira-developers</a>
        </td>
		<td>
            <a href="#">1</a>
        </td>
        <td>
            
            
                &nbsp;
            
        </td>
        
            <td>
                <ul class="operations-list">
                    @Html.ActionLink("Delete", "Delete", "Group", new { id = "del_jira-developers" })
                    @Html.ActionLink("Edit Members", "EditMembers", "Group", new { id = "edit_members_of_jira-developers" })
                </ul>
            </td>
        
    </tr>
	
	<tr>
		<td>
            <a href="#">jira-users</a>
        </td>
		<td>
            <a href="#">1</a>
        </td>
        <td>
            
            
                &nbsp;
            
        </td>
        
            <td>
                <ul class="operations-list">
                    @Html.ActionLink("Delete", "Delete", "Group", new { id = "del_jira-users" })
                    @Html.ActionLink("Edit Members", "EditMembers", "Group", new { id = "edit_members_of_jira-users" })
                </ul>
            </td>
        
    </tr>
	
    </tbody>
</table>
   <form action="GroupBrowser!add.jspa" method="post" id="add-group" class="aui add-group">
        
        <div class="form-body">
            <h3>Add Group</h3>
            <div class="field-group">
        <label>Name</label>
    

<input class="text" name="addName" type="text" />
</div>
        </div>
        <div class="buttons-container form-footer">
            <div class="buttons">
                @Html.ActionLink("Add Group", "Add", "Group", new { @class = "aui-button" })
            </div>
        </div>
    </form>
                </div>
            </div>
        
    </section>
